IdeaBlade DevForce 2010 Help Reference
TotalDataSourceItemCount Property
See Also  Send Feedback
IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel Namespace > EntityQueryPager<T> Class : TotalDataSourceItemCount Property



Returns the number of records available to be returned from the datasource.

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property TotalDataSourceItemCount As Integer
Visual Basic (Usage)Copy Code
Dim instance As EntityQueryPager(Of T)
Dim value As Integer
 
value = instance.TotalDataSourceItemCount
C# 
public int TotalDataSourceItemCount {get;}
C++/CLI 
public:
property int TotalDataSourceItemCount {
   int get();
}

Remarks

This property will return -1 until the last page is fetched via a call to MoveToLastPage.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.